<div id="nouveaux_membres">
	<div class="titre_home" style="text-transform: uppercase;">La liste des horoscopes</div>
    <table align="center" width="100%" >
        <?php foreach ($query_horoscope as $aRow): ?>
        <?php
            $image = './../assets/avatar/images/' . $aRow['avatar'];
            if (file_exists($image)) {
                $image = root_url('doggy-flirt') . 'assets/avatar/images/' . $aRow['avatar'];
            } else {
                $image = root_url('doggy-flirt') . './assets/noimage.gif';
            }
        ?>
                <tr>
                    <td rowspan="2" width="10%" valign="middle">
                        <a href="<?php echo site_url('horoscope/detail_horoscope').'/'.$aRow['id']?>"><img width="80px" src="<?php echo $image; ?>" border="0" alt=""/></a><br/>
                    </td>
                </tr>
                <tr>
                	<td style="padding-left: 10px;">
                    <a style="font-size: x-large" href="<?php echo site_url('horoscope/detail_horoscope').'/'.$aRow['id']?>"><?php echo $aRow['name'] ?></a> <font color="2c4b6d"><?php echo '('.$aRow['start_date']."/".$aRow['start_month']." - ".$aRow['end_date']."/".$aRow['end_month'].')' ?></font></br>
                    <?php echo get_short_description($aRow['description'],60)?></p></td>
                </tr>
            
        <?php endforeach; ?>
            </table>
</div>
<!--END wrapper-content-->

